[Top] [Prev] [Next] [Bottom] [Contents]

Sapphire/Web Functions


1

The Client API

Sapphire/Web provides an API of over 100 function calls. These calls are designed to complement the framework and visual programming capabilities of Sapphire/Web to facilitate Web application development. The API provides the following functionality:

The Sapphire/Web API is portable. If you develop a server application using Sapphire, not only is your application portable to a variety of UNIX platforms, but also to Windows NT. To gain access to the Sapphire/Web API, include the file, SaRnHtml.h, in your project code. The file can be found in the include directory of the Sapphire/Web distribution. This include file also contains all the other headers which come with the distribution.

The client library is C based but works in C++ development because of the extern "C" usage in the headers (see "The Table Component Object" on page 1-5). There are a number of reasons for using this C-based approach--primarily to reach the widest possible audience.

The Sapphire/Web API is also extensible since it is written in C. Therefore, you can add functionality, as well as use existing code (see "The Table Component Object" on page 1-5). In fact, much of your existing code can be added and used. This extensibility is a very powerful feature of Sapphire/Web and is a result of Bluestone's design philosophy.

The remainder of this chapter describes the functionality and design capabilities of the Sapphire/Web API.



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.